package com.bw.zzy.partal2.db.dao;

import com.bw.zzy.partal2.pojo.MedicalDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

@Mapper
public interface MedicalDeptDao {

    public ArrayList<HashMap> selectDeptAndSub();

    public ArrayList<HashMap> selectAll();


    public long selectConditionByPageCount(Map param);

    public ArrayList<HashMap> selectConditionByPage(Map param);

    public void insert(MedicalDept medicalDept);

    public HashMap selectById(int id);


    public void update(MedicalDept entity);


    public long selectSubCountByIds(Integer[] ids);

    public void deleteByIds(Integer[] ids);

}
